package com.pengshun.modules.api.coal.para;

import com.pengshun.modules.api.coal.validator.First;
import com.pengshun.modules.api.coal.validator.Fourth;
import com.pengshun.modules.api.coal.validator.Second;
import com.pengshun.modules.api.coal.validator.Third;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class MerchantPara {

    @NotNull(message = "merchantId不能为空", groups = {First.class, Third.class})
    private  Long merchantId;
    @NotNull(message = "mineMouthId不能为空", groups = {First.class, Fourth.class})
    private  Long mineMouthId;
    /**商户类别id */
    @NotNull(message = "商户类别id不能为空", groups = {Second.class, Fourth.class})
    private  Long merchantCategoryId;

    private  Integer status;
    private  Integer isShow;

    private Integer page;

    private Integer size;

//    @NotNull(message = "lngX不能为空", groups = {First.class, Second.class})
    private BigDecimal lngX;

//    @NotNull(message = "latY不能为空", groups = {First.class, Second.class})
    private BigDecimal latY;

}
